/*
 * @Author: zhangzhanyan 
 * @Date: 2021-07-23 15:35:56 
 * @Last Modified by: zhangzhnayan
 * @Last Modified time: 2021-07-23 21:22:07
 */
import { observable,action } from "mobx";
import {history} from "umi"

class Todo {
    @observable title = "北京";
    @observable finished = false;
    @action cityAdd=(val:string)=>{
        this.title=val
        history.goBack()
    }
}

export default new Todo()